//
//  MineHelpCenterDetailView.m
//  YTwallet
//
//  Created by ZhangLin on 2019/4/22.
//  Copyright © 2019年 hadrlog. All rights reserved.
//

#import "MineHelpCenterDetailView.h"
#import <Masonry.h>

@implementation MineHelpCenterDetailView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self setupViews];
    }
    return self;
}

-(void)setupViews{
    
    self.lineView = [[UIView alloc] init];
    self.lineView.backgroundColor =ETColorWithRGB(229, 229, 229);
    [self addSubview:self.lineView];
    [self.lineView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(0);
        make.right.mas_equalTo(0);
        make.top.equalTo(self);
        make.height.mas_equalTo(1);
    }];
    
    self.titleLab = [[UILabel alloc] init];
    self.titleLab.text = @"***";
    self.titleLab.numberOfLines = 0;
    self.titleLab.font = [UIFont boldSystemFontOfSize:16];
    self.titleLab.textColor = ETColorWithRGB(51, 51, 51);
    [self addSubview:self.titleLab];
    [self.titleLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(15);
        make.top.mas_equalTo(20);
        make.right.mas_equalTo(-15);
    }];
    
    
    self.titleDetailLab = [[UILabel alloc] init];
    self.titleDetailLab.text = @"********";
    self.titleDetailLab.numberOfLines = 0;
    self.titleDetailLab.font = [UIFont systemFontOfSize:14];
    self.titleDetailLab.textColor = ETColorWithRGB(102, 102, 102);
    [self addSubview:self.titleDetailLab];
    [self.titleDetailLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(15);
        make.top.equalTo(self.titleLab.mas_bottom).offset(20);
        make.right.mas_equalTo(-15);
    }];
    
    
    
}

@end
